﻿//------------------------------------------------------------------------------
// 创建标识: Copyright (C) 2008 Socansoft.com 版权所有
// 创建描述: SocanCode代码生成器自动创建于 2008-8-25 15:32:47
//
// 功能描述: 
//
// 修改标识: 
// 修改描述: 
//------------------------------------------------------------------------------

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

public partial class Controls_COMMODITY_EVALListControl : System.Web.UI.UserControl
{
    public event RepeaterCommandEventHandler ItemCommand;
    public int count, pageCount;
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    public void Bind(int PageSize,int pageIndex, string spdm)
    {
        DataSet ds = new BLL.SHANGPIN().GetSPCOMMENTList(PageSize, pageIndex, spdm,out pageCount, out count);
        rptCOMMODITY_EVAL.DataSource = ds.Tables[0].DefaultView;
        rptCOMMODITY_EVAL.DataBind();
        DataSet ds2 = new BLL.SHANGPIN().GetSPCOMMENT(spdm);
        Repeater2.DataSource = ds2.Tables[0].DefaultView;
        Repeater2.DataBind();
    }

    protected void rptCOMMODITY_EVAL_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
        if (ItemCommand != null)
            ItemCommand(source, e);
    }
}
